home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.security,alt.sources.patches,alt.sources
- From: bjoerns@stud.cs.uit.no (Bjoern Stabell)
- Subject: Re: Xterm security patch ... (bypassing XGrabKeyboard())
- References: <1992May7.070930.5399@wpi.WPI.EDU> <israel.705235054@hrz.tu-chemnitz.de>
- Organization: University of Tromsoe, Norway
- Date: Sat, 9 May 1992 01:45:13 GMT
- Message-ID: <1992May9.014513.1693@news.uit.no>
-
- In article <israel.705235054@hrz.tu-chemnitz.de>, israel@informatik.tu-chemnitz.de (Andreas Israel)
- writes:
- ] nyh@leibniz.WPI.EDU (Nevo Y Hed) writes:
- ]
- ] >P.S. In case you don't think this is a problem, one our sysadmins had
- ] >his password grabbed on the first try with absolutely no traces nor
- ] >indication that it had happened. This is a real problem.
- ]
- ] Does this problem still exist if I use the authentication (-auth)
- ] with my X session?
-
- No, Xauthority is safe. There have been several articles about this so I
- won't comment on it.
-
- What I would like to point out is the strange and wonderful X call called
- XQueryKeymap() which I have successfully used to write a program that snoops
- the raw keyboard status of a display, and by comparing the differences in
- keyboard states can decide which keys was pressed. This of course has
- nothing to do with XGrabKeyboard() and so... Using XGrabKeyboard() isn't
- safe as long as this function exists.
-
- I won't post the code, that'll just have a go-ahead-snoop-your-friend's (or
- sysadm's!!!) display effect.
-
- I wonder, are there other X calls that will do the same thing? I.e.
- 'bypass' XGrabKeyboard()? Didn't anyone think of this possibility,
- shouldn't 'grabbing' the keyboard mean that NO calls should be able to
- get ANY information about the keyboardstate?
-
- Using Xauthority of course prevents this problem.
-
-
- // bjoerns
- --
- + + + + + + + + _ + + + + + + + + + + + +
- + <<< Bjxrn Stabell >>> _ // C= AMIGA ... Only Amiga makes it possible! +
- + University of Tromsx \\ // +
- + bjoerns@stud.cs.uit.no \X/ (Use iso fonts if you wanna see the x!) +
- + + + + + + + + + + + + + + + + + + + +
-
-